package com.myHospital.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.myHospital.biz.AppointmentBiz;

@Controller
public class DoctorAction {

	@Autowired
	private AppointmentBiz appointmentBiz;
	
	@RequestMapping("/DoctorIndex")
	public String DoctorIndex(Model model)
	{
		return "app/doctor_index";
	}
	@RequestMapping("/DoctorLogin")
	public String DoctorLogin(Model model,HttpServletRequest request,HttpServletResponse response)
	{
		return "app/Doctorlogin";
	}
	@RequestMapping("/DoctordoLogin")
	public String DoctordoLogin(Model model,HttpServletRequest request,HttpServletResponse response)
	{
		return "app/doctor_index";
	}
}
